package py.com.fms.com.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import py.com.fms.fms.bean.CurrencyBean;
import py.com.fms.fms.bean.RefDetBean;
import py.com.fms.fms.bean.SupplierBean;

public class PaymentOrderHeadBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8074288740526046803L;
	
	private Long id;                           
	private Long idEnt;                        
	private Long idBranch;
	private Long voucher;
	private Long idProv;
	private Date voucherDate;
	private Long idCurrency;
	private Double changeType; //tipo de cambio
	private String status;
	private Long idCancellationReason; // referencias detalle (motivo de anulacion)
	private BigDecimal totalPaymentOrder;
	private BigDecimal totalMethodOfPayment;
	
	/* atributos auxiliares para busquedas en orden de pago */
	private Date searchStartDate;
	private Date searchEndDate;
	
	private SupplierBean supplierData;
	private CurrencyBean currencyData;
	private RefDetBean cancellationReasonData;
	private Boolean selected;
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getIdEnt() {
		return idEnt;
	}
	public void setIdEnt(Long idEnt) {
		this.idEnt = idEnt;
	}
	public Long getIdBranch() {
		return idBranch;
	}
	public void setIdBranch(Long idBranch) {
		this.idBranch = idBranch;
	}
	public Long getVoucher() {
		return voucher;
	}
	public void setVoucher(Long voucher) {
		this.voucher = voucher;
	}
	public Long getIdProv() {
		return idProv;
	}
	public void setIdProv(Long idProv) {
		this.idProv = idProv;
	}
	public Date getVoucherDate() {
		return voucherDate;
	}
	public void setVoucherDate(Date voucherDate) {
		this.voucherDate = voucherDate;
	}
	public Long getIdCurrency() {
		return idCurrency;
	}
	public void setIdCurrency(Long idCurrency) {
		this.idCurrency = idCurrency;
	}
	public Double getChangeType() {
		return changeType;
	}
	public void setChangeType(Double changeType) {
		this.changeType = changeType;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Long getIdCancellationReason() {
		return idCancellationReason;
	}
	public void setIdCancellationReason(Long idCancellationReason) {
		this.idCancellationReason = idCancellationReason;
	}
	public SupplierBean getSupplierData() {
		return supplierData;
	}
	public void setSupplierData(SupplierBean supplierData) {
		this.supplierData = supplierData;
	}
	public CurrencyBean getCurrencyData() {
		return currencyData;
	}
	public void setCurrencyData(CurrencyBean currencyData) {
		this.currencyData = currencyData;
	}
	public RefDetBean getCancellationReasonData() {
		return cancellationReasonData;
	}
	public void setCancellationReasonData(RefDetBean cancellationReasonData) {
		this.cancellationReasonData = cancellationReasonData;
	}
	public Date getSearchStartDate() {
		return searchStartDate;
	}
	public void setSearchStartDate(Date searchStartDate) {
		this.searchStartDate = searchStartDate;
	}
	public Date getSearchEndDate() {
		return searchEndDate;
	}
	public void setSearchEndDate(Date searchEndDate) {
		this.searchEndDate = searchEndDate;
	}
	public BigDecimal getTotalPaymentOrder() {
		return totalPaymentOrder;
	}
	public void setTotalPaymentOrder(BigDecimal totalPaymentOrder) {
		this.totalPaymentOrder = totalPaymentOrder;
	}
	public BigDecimal getTotalMethodOfPayment() {
		return totalMethodOfPayment;
	}
	public void setTotalMethodOfPayment(BigDecimal totalMethodOfPayment) {
		this.totalMethodOfPayment = totalMethodOfPayment;
	}
	public void setSelected(Boolean selected) {
		this.selected = selected;
	}
	public Boolean getSelected() {
		return selected;
	}
}
